package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName department_info
 */
@TableName(value ="department_info")
@Data
public class DepartmentInfo implements Serializable {
    /**
     * 单位ID
     */
    @TableId(value = "department_id", type = IdType.AUTO)
    private Integer departmentId;

    /**
     * 单位名称
     */
    @TableField(value = "department_name")
    private String departmentName;

    /**
     * 解除警报权限（0否1是）
     */
    @TableField(value = "remove")
    private Integer remove;

    /**
     * 警报处理权限（0否1是）
     */
    @TableField(value = "process")
    private Integer process;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}